package cn.iocoder.yudao.module.crm.controller.admin.customerbill.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户账单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CustomerBillPageReqVO extends PageParam {

    @Schema(description = "customer_id", example = "18916")
    private Long customerId;

    @Schema(description = "日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] billDate;

    private LocalDate startDate;

    private LocalDate endDate;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "船公司名称", example = "赵六")
    private String companyName;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "船公司代码")
    private String companyCode;

    @Schema(description = "柜型", example = "2")
    private String containerType;

    @Schema(description = "账单状态 1-待支付，2-已支付", example = "2")
    private Integer billStatus;

    @Schema(description = "支付日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] payTime;

}
